[?php use_helper('I18N', 'Date') ?]
[?php include_partial('<?php echo $this->getModuleName() ?>/assets') ?]
<div id="sf_admin_container" class="container-fluid">
    <h1>[?php echo <?php echo $this->getI18NString('list.title') ?> ?]</h1>

    [?php include_partial('<?php echo $this->getModuleName() ?>/flashes') ?]

    <!-- 
    <div id="sf_admin_header" class="row-fluid">
        <div class="span12">
            [?php include_partial('<?php echo $this->getModuleName() ?>/list_header', array('pager' => $pager)) ?]
        </div>
    </div>
    -->

    <div class="row-fluid">
        [?php include_partial('<?php echo $this->getModuleName() ?>/list_actions', array('helper' => $helper)) ?]
    </div>

    <?php if ($this->configuration->hasFilterForm()): ?>
        <div id="sf_admin_bar" class="row-fluid">
            <div class="span12">
                [?php include_partial('<?php echo $this->getModuleName() ?>/filters', array('form' => $filters, 'configuration' => $configuration, 'hasFilters' => $hasFilters)) ?]
            </div>
        </div>
    <?php endif; ?>
    <div id="sf_admin_content">
        <?php if ($this->configuration->getValue('list.batch_actions')): ?>
            <form action="[?php echo url_for('<?php echo $this->getUrlForAction('collection') ?>', array('action' => 'batch')) ?]" method="post">
            <?php endif; ?>
            <div class="row-fluid">
                <div class="span12">
                    [?php include_partial('<?php echo $this->getModuleName() ?>/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper)) ?]
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    <ul class="sf_admin_batch_actions inline">
                        [?php include_partial('<?php echo $this->getModuleName() ?>/list_batch_actions', array('helper' => $helper)) ?]
                    </ul>
                </div>
            </div>
            <?php if ($this->configuration->getValue('list.batch_actions')): ?>
            </form>
        <?php endif; ?>
    </div>

    <!--
    <div id="sf_admin_footer" class="row-fluid">
        <div class="span12">
            [?php include_partial('<?php echo $this->getModuleName() ?>/list_footer', array('pager' => $pager)) ?]
        </div>
    </div>
    -->

</div>
<div id="ajax-loader" style="position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; opacity: .4; background: #000; display: none;">
    <div style="position: fixed; left: 44%; top: 46%;">
    <img src="<?php echo sfConfig::get('app_assets_dir') . '/img/ajax-loader-orange.gif' ?>" />
    </div>
</div>